|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.internals.VoiceResource
org.eclipse.vtp.desktop.projects.core.internals.BusinessObjectSet
public class BusinessObjectSet
This is a concrete implementation of IBusinessObjectSet
and provides the default behavior of that interface.
| Constructor Summary | |
|---|---|
BusinessObjectSet(VoiceToolsDesignProject project,
org.eclipse.core.resources.IFolder folder)
Creates a new BusinessObjectSet with the given parent
application project and eclipse folder resource. |
|
| Method Summary | |
|---|---|
IBusinessObject |
createBusinessObject(java.lang.String name)
Creates a new business object with the given name. |
void |
deleteBusinessObject(IBusinessObject businessObject)
Removes the given business object from the application project. |
java.util.List |
getBusinessObjects()
|
java.lang.String |
getName()
|
protected java.lang.String |
getObjectId()
The object id is used by the event system to uniquely identify a project resource. |
IVoiceToolsResource |
getParent()
Returns the parent of this resource. |
| Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource |
|---|
addRefreshListener, deferEvents, finalize, getAdapter, getProject, processObjectEvent, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
addRefreshListener, deferEvents, getProject, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public BusinessObjectSet(VoiceToolsDesignProject project,
org.eclipse.core.resources.IFolder folder)
BusinessObjectSet with the given parent
application project and eclipse folder resource.
project - The parent application projectfolder - The eclipse folder resource this business object set
represents| Method Detail |
|---|
public java.lang.String getName()
getName in interface IVoiceToolsResourceprotected java.lang.String getObjectId()
VoiceResource
getObjectId in class VoiceResourcepublic IVoiceToolsResource getParent()
IVoiceToolsResourcethis.
getParent in interface IVoiceToolsResourcepublic java.util.List getBusinessObjects()
getBusinessObjects in interface IBusinessObjectSetIBusinessObjects used by the application
project
public IBusinessObject createBusinessObject(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
IBusinessObjectSet
createBusinessObject in interface IBusinessObjectSetname - The name of the new business object
org.eclipse.core.runtime.CoreException - If an error occured during the creation of the
required file and folder resources for the new business objectpublic void deleteBusinessObject(IBusinessObject businessObject)
IBusinessObjectSet
deleteBusinessObject in interface IBusinessObjectSetbusinessObject - The business object to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||